.container {
  display: flex;
  height: 100vh;
}
/* 滚动条整体样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* 滚动条轨道样式 */
::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 4px;
}

/* 滚动条滑块样式 */
::-webkit-scrollbar-thumb {
  background-color: #dcdcdc;
  border-radius: 4px;
  border: 1px solid #f1f1f1;
}

/* 当鼠标悬浮在滚动条滑块上时的样式 */
::-webkit-scrollbar-thumb:hover {
  background-color: #c1c1c1;
}
.pdf-preview {
  position: relative;
  width: 60%;
  background-color: #f5f5f5;
  overflow: auto;
}
.feedback-dropdown {
  width: 12%;
  background-color: #ddd;
  overflow: auto;
  padding: 4px;
}
.richtext-editor {
  width: 28%;
  background-color: #fff;
  overflow: auto;
}

/* 基础样式 */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  margin-bottom: 10px;
  background-color: #fff;
  padding: 10px;
  border-radius: 4px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.header .type {
  font-weight: bold;
}

.description-detail {
  display: block;
  width: 100%;
  padding: 8px;
  border: none;
  background-color: #1890ff;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

.description-detail:hover {
  background-color: #40a9ff;
}

.info {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.user,
.time {
  font-size: 0.9em;
  color: #666;
}

/* 
  pdf
*/
#pdf-container canvas,
.canvas-container {
  margin-bottom: 25px;
}

#pdf-container .canvas-container {
  margin-left: auto;
  margin-right: auto;
}

#pdf-container {
  width: 100%;
  height: 100%;
}

.annotation {
  cursor: pointer;
  transition: background-color 0.3s ease; /* 添加过度动画，持续时间为0.3秒，动画效果为ease */
}

.annotation .delete {
  color: rgb(247, 94, 94); /* 初始颜色 */
  transition: color 0.5s ease; /* 添加过度动画，持续时间为0.3秒，动画效果为ease */
}

.annotation .delete:hover {
  color: red; /* 鼠标悬停时的颜色 */
}

.annotation .delete span {
  margin-left: 4px;
}

.annotation.active {
  background-color: #eee;
}
.annotation:hover {
  background-color: #eee;
}
